From: GNU Libc Maintainers Date: Sun, 1 Mar 2026 20:10:06 +0000 (+0100) Subject: git-pthread_sigmask_nothread X-Git-Tag: archive/raspbian/2.41-12+rpi1+deb13u2^2~57 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/%22mailto:tmurad%40gmail.com//%22mailto:i18n-csb%40linuxcsb.org/%22/%22http:/www.example.com/%22mailto:tmurad%40gmail.com/%22mailto:i18n-csb%40linuxcsb.org/%22?a=commitdiff_plain;h=3e51462698c50fb1b1e0449b9d7f1d5d1a3070bf;p=glibc.git git-pthread_sigmask_nothread Upstream 2.42 has a much more involved cleanup fix which in the end boils down to this. Gbp-Pq: Topic hurd-i386 Gbp-Pq: Name git-pthread_sigmask_nothread.diff --- diff --git a/sysdeps/mach/hurd/htl/pt-sigstate.c b/sysdeps/mach/hurd/htl/pt-sigstate.c index a50179351..18981c482 100644 --- a/sysdeps/mach/hurd/htl/pt-sigstate.c +++ b/sysdeps/mach/hurd/htl/pt-sigstate.c @@ -36,7 +36,10 @@ __pthread_sigstate (struct __pthread *thread, int how, if (set != NULL) new = *set; - ss = _hurd_thread_sigstate (thread->kernel_thread); + if (thread == _pthread_self ()) + ss = _hurd_self_sigstate (); + else + ss = _hurd_thread_sigstate (thread->kernel_thread); assert (ss); _hurd_sigstate_lock (ss);